{extend name="../../base/view/common/base" /}
<!-- 主体 -->
{block name="body"}
<form class="layui-form p-4">
	<h3 class="pb-3">跟进记录</h3>
    <table class="layui-table layui-table-form">
      <tr>
        <td class="layui-td-gray">客户名称</td>
        <td colspan="5">{$detail.customer}</td>
      </tr>
      <tr>
        <td class="layui-td-gray">联 系 人</td>
        <td>
            {volist name=":customer_contact($detail.cid)" id="v"}
				{eq name="$v.id" value="$detail.contact_id"}{$v.name}{/eq}
            {/volist}
        </td>
	    <td class="layui-td-gray">跟进方式</td>
        <td>{$detail.type_name}</td>
        <td class="layui-td-gray">跟进时间</td>
        <td>{$detail.follow_time}</td>
      </tr>
	  <tr>
		<td class="layui-td-gray" style="vertical-align:top">沟通内容</td>
        <td colspan="5">{$detail.content}</td>
      </tr>
      <tr>
        <td class="layui-td-gray">当前阶段</td>
        <td>{$detail.stage_name}</td>
	    <td class="layui-td-gray">销售机会</td>
        <td>
            {volist name=":customer_chance($detail.cid)" id="v"}
			{eq name="$v.id" value="$detail.chance_id"}{$v.title}{/eq}
            {/volist}
        </td>
        <td class="layui-td-gray-2">下次沟通时间</td>
        <td>{$detail.next_time}</td>
      </tr>
    </table>
</form>
{/block}
<!-- /主体 -->

<!-- 脚本 -->
{block name="script"}
<script>

</script>
{/block}
<!-- /脚本 -->